package com.peoit.honeycomb.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 上传的各种文件
 * Created by Bing.Zeng on 2015/9/24.
 */
@Entity
@Table(name="honeycomb_accessories")
public class Accessory extends BaseEntity {


    /**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 1L;

	@ManyToOne
    HoneycombProject project;

    @Column(length=256,nullable=true)
    private String filePath;

    @Column(length=32,nullable=true)
    //类型定义在 Config类
    private String  type;

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public HoneycombProject getProject() {
        return project;
    }

    public void setProject(HoneycombProject project) {
        this.project = project;
    }
}
